package com.xspace.android.imcommon.fileupload;

import com.xspace.android.imcommon.interfaces.ChatAidl;
/**Callback interface*/
oneway interface IUploadCallback
{
	void onUploadBefore(in ChatAidl uploads);

	void onUploading(in int position,in long uploaded,in long total,in float progress,in float speed,in ChatAidl uploads,in int current);
    
    void onUploadError(in int position,in long uploaded,in float progress,in ChatAidl uploads,in int current);

    void onUploadAllFinished(in int position,in ChatAidl uploads,in boolean CheckFlag);

    void onCancelUpload(in int position,in ChatAidl uploads,in int current);
     
    void onPauseUpload(in int position,in ChatAidl uploads,in int current);
  
    void onResumeUpload(in int position,in ChatAidl uploads,in int current);
        
}